home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / compress / arcd096b.zip / ARCDOC.CFG < prev    next >
Text File  |  1992-08-15  |  12KB  |  270 lines

  1. ;                                ARCDOC.CFG
  2.  
  3.  
  4. ;Place ARCDOC.CFG, ARCDOC.EXE, all of your archive utilities and your virus 
  5. ;scanning utility in your DOS path.  Recommended: also place COMPRESS.CFG 
  6. ;and VSETARCD.EXE (both included) in the same directory.  
  7. ;
  8. ;Edit ARCDOC.CFG (this file) to suit your needs.  This file is not case 
  9. ;sensitive.  Blank lines will be ignored. Lines beginning with semi-colons 
  10. ;will be ignored.  Your default archive statement (ConvtDefault) *MUST* come 
  11. ;after ArcDataPath, if ArcDataPath is declared,  other than that, 
  12. ;Keywords/commands may come in any order.
  13.  
  14. ;VSETARCD.EXE was written to evaluate this file.  It uses the same routines
  15. ;as ArcDoctor does to read this file into an array in memory, but then 
  16. ;displays the values of the ArcDoctor configuration to your screen.  Since
  17. ;the "Refuse" and "Strip" commands can have devastating results if you are
  18. ;not careful their implementation, I highly recommend running VSETARCD.EXE
  19. ;after editing this file, but prior to running ARCDOC.EXE.
  20. ;
  21. ;----------------------------------------------------------------------------
  22. ;                       P A T H    D E F A U L T S
  23. ;----------------------------------------------------------------------------
  24. ;  Full DOS path to COMPRESS.CFG.  This declaration is optional and should
  25. ;  only be used if you are already using a valid COMPRESS.CFG for another
  26. ;  program such as SQUISH.  In most cases you should comment this command
  27. ;  out, and place COMPRESS.CFG in the same directory as this file 
  28. ;  (ARCDOC.CFG).
  29. ;
  30. ;  ArcDataPath <drive>:\<directory>
  31.  
  32. ;ArcDataPath c:\fd
  33.  
  34. ;
  35. ;  DOS path for ArcDoctor to find files that are to be scanned/converted.
  36. ;  If the parent directory is denoted as a dot ("."), ArcDoctor will
  37. ;  expect any subsequent directories to be sub-directories of the directory
  38. ;  which ArcDoctor was executed from. This command should be commented out
  39. ;  in most cases.  If this command is commented out ArcDoctor will scan
  40. ;  all files the directory from which ArcDoctor was executed, thus any 
  41. ;  directory on the computer may be processed by ArcDoctor. Un-commenting
  42. ;  this keyword will force ArcDoctor to run in the declared directory any
  43. ;  time ArcDoctor is executed.
  44. ;
  45. ;  ArcFilePath <d:\path>
  46.  
  47. ArcFilePath c:\slbbs\uploads.bbs
  48.  
  49. ;
  50. ;  Full DOS path for ArcDoctor to Scan and convert archives in.  A RAM
  51. ;  drive is recommended.  ArcDoctor will create a temporary sub-directory 
  52. ;  under this path to work in.  If commented out, ArcDoctor will default 
  53. ;  to the current directory - creating the temporary directory as a sub-
  54. ;  directory of the directory in which ArcDoctor was executed. 
  55. ;  ArcDoctor will remove this directory after operation, *IF* it is not
  56. ;  interrupted.
  57. ;
  58. ;  WorkPath <[d:] and/or [path]>
  59.  
  60. WorkPath c:
  61.  
  62. ;----------------------------------------------------------------------------
  63. ;                      D E F A U L T    A R C H I V E R
  64. ;----------------------------------------------------------------------------
  65. ;  Default Archiver to convert all other archives to.  This string must
  66. ;  match the declaration following the keyword "Archiver" in COMPRESS.CFG
  67. ;  in order for any conversions to take place.
  68. ;
  69. ;  ConvtDefault <Archiver Name>
  70.  
  71. ConvtDefault zip
  72.  
  73. ;----------------------------------------------------------------------------
  74. ;                      B A D   F I L E S   A C T I O N
  75. ;----------------------------------------------------------------------------
  76. ;  Path to place Archives that fail testing, so you may later look at them.
  77. ;  Note: you should not use this command and KillBadFiles.  This directory
  78. ;  need not exist -  should a file fail processing, and this keyword be 
  79. ;  active, then ArcDoctor will create this directory if it does not exist.
  80. ;
  81. ;  BadFilesDir <[d:]\path>
  82.  
  83. BadFilesDir c:\badfiles
  84.  
  85. ;
  86. ;  This keyword instructs ArcDoctor to delete files that fail testing.
  87. ;  Note: You should not use this command and BadFilesDir.
  88. ;
  89. ;  KillBadFiles
  90.  
  91. ;KillBadFiles
  92.  
  93. ;----------------------------------------------------------------------------
  94. ;                      V I R U S    D E T E C T I O N
  95. ;----------------------------------------------------------------------------
  96. ;  Default Virus scanning utility.  Usually McAfee's SCAN.EXE
  97. ;  Note: If not declared, no virus checking will take place.
  98. ;  SCAN.EXE is recommended - the DOS error levels for SCAN.EXE  are hard coded
  99. ;  into ArcDoctor.  Should you use a different virus detection utility, be
  100. ;  sure it will exit with a DOS errorlevel=1, or ArcDoctor may not intercept 
  101. ;  an infected file correctly.  The following are intercepted by ArcDoctor:
  102. ;  ERRORLEVEL 0  ...  No viruses found.
  103. ;  ERRORLEVEL 1  ...  One or more viruses found.
  104. ;  ERRORLEVEL 2  ...  Abnormal termination (program error).
  105. ;  ERRORLEVEL 3  ...  One or more uncertified files found.
  106. ;
  107. ;  SCAN.EXE (or your virus scanning utility) must reside in your DOS path  
  108. ;  in order for ArcDoctor to execute your virus utility.
  109. ;
  110. ;  ScanCommand <virus utility>
  111.  
  112. ScanCommand scan.exe
  113.  
  114. ;
  115. ;  Optional parameters to pass to "ScanCommand".
  116. ;  If not declared, no parameters will be passed to virus checker.
  117. ;  If ScanCommand is not declared, this option will have no effect.
  118. ;
  119. ;  ScanParams <optional parameters>
  120.  
  121. ScanParams /nomem /nopause
  122.  
  123. ;----------------------------------------------------------------------------
  124. ;                          Z I P   C O M M E N T S
  125. ;----------------------------------------------------------------------------
  126. ;  Enabling this command is only useful if you use ZIP or ARJ as your default
  127. ;  archiver.  The parameter to this command is the full <drive:\path\filename> 
  128. ;  to an ASCII text file, which will be displayed on-screen when unarchiving
  129. ;  occurs.
  130. ;
  131. ;  AddArcCmt <[d:]\path\filename>
  132.  
  133. AddArcCmt c:\bbs\arc.cmt
  134.  
  135. ;
  136. ;  Tells ArcDoctor to remove archive Comments from all ARJ and ZIP files 
  137. ;  being processed.  Not recommended if AddArcCmt is enabled - it won't 
  138. ;  hurt anything, but it will slow down processing.  If you have selected 
  139. ;  a default archiver other than ARJ or ZIP, there is no need for this 
  140. ;  command,  as all ARJ and ZIP files will be converted to your default 
  141. ;  archive format.
  142. ;
  143. ;  StripArcCmt
  144.  
  145. ;StripArcCmt
  146.  
  147. ;----------------------------------------------------------------------------
  148. ;                       D O N ' T    U N P A C K
  149. ;----------------------------------------------------------------------------
  150. ;  This command will force ArcDoctor to ignore files with the declared
  151. ;  extensions.  By default, ArcDoctor tries to un-arc all files in the
  152. ;  current directory -or- ArcFilePath.  ArcDoctor can unarchive any archived
  153. ;  file, provided the archiver is declared properly inside COMPRESS.CFG.
  154. ;  ArcDoctor will first check the files extension, if it matches a declared
  155. ;  extension in COMPRESS.CFG, ArcDoctor will then verify the archive format -
  156. ;  if a match fails, ArcDoctor will try to determine the files true format.
  157. ;  If a format is found, ArcDoctor will open the archive.  eg... you get
  158. ;  a file called SAMPLE.ARJ, but it is really a misnamed ZIP file, ArcDoctor
  159. ;  will be able to open it.  All extensions not declared on this line are
  160. ;  evaluated for valid archive formats.  Each extension declared must be 
  161. ;  separated by a comma "," and there must be no spaces in the list of 
  162. ;  extensions.
  163. ;
  164. ;  SkipFiles <ext><,ext<,ext><,ext><,ext><,ext>
  165.  
  166. SkipFiles gif,com,ans,txt,doc,lst,sys,bat
  167.  
  168. ;----------------------------------------------------------------------------
  169. ;                        S T R I P   F I L E S
  170. ;----------------------------------------------------------------------------
  171. ;  This command tells ArcDoctor to check all .COM files in archives to
  172. ;  see if they are ANSI COM files created by TheDraw... If any are found,
  173. ;  they will be stripped (deleted) from the archive.  This command will have
  174. ;  no effect on COM files that are not within archives.
  175. ;
  176. ;  StripTdComs
  177.  
  178. StripTdComs
  179.  
  180. ;
  181. ;  Files listed in this command will be removed from archives if they exist.
  182. ;  Wild cards are excepted, so be CAREFUL!! <Grin>... *.EXE in this command
  183. ;  will delete *ALL* executable files in processed archives!  Recursive
  184. ;  declarations of this command are valid. you may declare up to 200 file
  185. ;  names to strip from processed archives.  
  186. ;  Either of the two following formats for this command are valid:
  187. ;
  188. ;  1)  A comma "," is used to separate file names, there should be no
  189. ;      spaces between file names:
  190. ;
  191. ;  StripFilesInArc <filename><,filename><,filename><,filename>
  192. ;
  193. ;  2) You may use the "@<filename>" declaration if you choose to keep a 
  194. ;     separate ASCII text file listing file names to be stripped.  The
  195. ;     accepted standard for this file format is one file name per line
  196. ;
  197. ;StripFilesInArc @<[d:]\path\filename>
  198. ;
  199.  
  200. StripFilesInArc Autoexec.*,config.sys,pkzip.exe,pkunzip.exe
  201. ;StripFilesInArc @c:\data\killfile.lst
  202.  
  203. ;----------------------------------------------------------------------------
  204. ;                     A D D / I N S E R T   F I L E S
  205. ;----------------------------------------------------------------------------
  206. ;   This keyword instructs ArcDoctor to do just the opposite of 
  207. ;   StripFilesInArc - All processed archives will have the declared files
  208. ;   inserted into the archive.  You may use either of the declaration
  209. ;   formats accepted by StripFilesInArc, with only a slight modification:
  210. ;   the file names must include the full DOS path where the files may be 
  211. ;   located. 
  212. ;
  213. ;
  214. ;   AddFilesToArc <[d:]\path\filename><,[d:]\path\filename><,[d:]\pa . . .
  215. ;        - OR -
  216. ;   AddFilesToArc @<[d:]\path\filename>
  217.  
  218. ;AddFilesToArc c:\bbs\myad.com,c:\bbs\bbsad.com
  219. ;AddFilesToArc @c:\data\insert.lst
  220.  
  221. ;----------------------------------------------------------------------------
  222. ;                          R E F U S E    F I L E S
  223. ;----------------------------------------------------------------------------
  224. ;  This command will allow you to refuse any file extension/names you do
  225. ;  not want.  Once uploaded, any matching files will be truncated prior
  226. ;  to processing.  Note: this will not effect any files inside any archives.
  227. ;  This keyword uses the same command structure as StripFilesInArc:
  228. ;
  229. ;  RefuseU/L <filename><,filename><,filename><,filename> 
  230. ;        - OR - 
  231. ;  RefuseU/L @<[d:]\path\filename>
  232. ;
  233. ;RefuseU/L *.BAT,*.CFG,*.SYS,*.GIF,*.MNU,CONFIG.*
  234. ;RefuseU/L @c:\data\refuse.lst
  235.  
  236. ;
  237. ;  Allows you to refuse files dated older that the specified year.  This 
  238. ;  will not affect files within archives - if activated, this function will
  239. ;  check the DOS file dates and delete any files that are older than the 
  240. ;  specified year prior to any other processing.  There is one exception to 
  241. ;  this - if a file is stamped with 1980 as the year, it is assumed that the 
  242. ;  system which created the archive has a non-functioning clock, therefore 
  243. ;  ArcDoctor will not delete any file stamped with 1980 as the year.
  244.  
  245. ;RefuseDate 1987
  246.  
  247. ;----------------------------------------------------------------------------
  248. ;                  S Y S T E M   L O G G I N G / M A I L
  249. ;----------------------------------------------------------------------------
  250. ;  Enables detailed ArcDoctor Journal.  ARCDOC.LOG (if created) may be found
  251. ;  in the same directory in which you keep this file (ARCDOC.CFG).
  252.  
  253. LogActivity
  254.  
  255. ;
  256. ;  Enables the sysop mail function. The first parameter should be either
  257. ;  Bad -or- All. "Bad" only sends sysop mail when a file fails testing,
  258. ;  "All" sends the Sysop mail after every transaction. You must have a
  259. ;  command-line utility to send sysop mail in order for this feature to
  260. ;  work. ArcDoctor will create a temporary file and insert this file name
  261. ;  in place of the "%l"... it is up to you to provide a valid command-line
  262. ;  following the "@" sign for this feature to work. 
  263. ;
  264. ;          **** This feature is not yet implemented. ****
  265. ;
  266.  
  267. ;SysopMail Bad @slmail s mail -tSysop -fArcDoctor -sBadFiles -t%l
  268.  
  269.